import Client from "./Base.js";

export default {
  /**
   * 获取本学期实验课
   */
  courses(uid) {
    return Client.get("/classtable",{
      id: uid
    });
  },
  /**
   * 获取签到信息
   */
  getSign(uid) {
    return Client.get("/adij",{
      sid: uid
    });
  },
  /**
   * 签到1
   */
  toSign1(uid, id) {
    return Client.get("/resign",{
      nub: uid,
      sid: id
    });
  },
  /**
   * 签到2
   */
  toSign2(uid, id) {
    return Client.get("/updatess",{
      sid: id,
      cid: uid     
    });
  }
};